package com.dao;

import com.model.Employee;
import com.util.JdbcUtil;

public class EmpDao {
	JdbcUtil jdbc = new JdbcUtil();
	
	public void alert(Integer eid ,String pwd) throws Exception {
		StringBuffer sql =new StringBuffer();
		sql.append("update employee set epassword = ");
		sql.append(pwd);
		sql.append(" where eid=");
		sql.append(eid);
		jdbc.updatePreparedStatement(sql.toString());
	}
}
